package com.py.outbound.mapper;

import com.py.outbound.domain.OdPurchaseDetails;
import com.py.outbound.domain.RejectedDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RejectedDetailsMapper {

    /**
     * 获取进货退货详细
     * @param phCode
     * @return
     */
    List<RejectedDetails> selectRejectedDetailsList(RejectedDetails rejectedDetails);

    Integer updateDetailsRejectedNum(@Param("num")Long num, @Param("code")String code, @Param("productCode")String productCode);

    Integer rejectedCount(@Param("code")String code);

    OdPurchaseDetails selectOdPurchaseDetails(@Param("phCode")String phCode, @Param("productCode")String productCode);
}
